#!/usr/bin/python2.7
#coding=utf8
from ana_excel import Config
import ordereddict,sys,collections

def register():
    # print(config.CSVFILEPATHPARENT)
    config = Config()
    lines = open(config.RELATIONSHIPMAP, 'rU')
    relationshipmap = collections.OrderedDict()
    for line in lines:
        # print(line)
        line = line.strip()
        line_list = line.split(";")
        desc_list = line_list[1].split("->")
        relationshipmap[line_list[0]] = desc_list
    # print(relationshipmap)
    # sys.exit(0)
    return relationshipmap

